<?php 
	
		$id=$_GET['id'];
			mysql_query("
						delete from notes where notes_id='$id'			
			");
		
		echo '<script>window.location.href="index.php" </script>';

?>